
/* dental unit hero section start */
/* General Styles */
.hero-slider {
    width: 100%;
    height: 480px;
    display: flex;
    position: relative;
    z-index: 0;
}

.hero-slider .swiper-container {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.hero-slider .swiper-slide {
    overflow: hidden;
    color: #fff;
}

.hero-slider .slide-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}

/* Navigation Buttons */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    background: var(--btn-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* Show the navigation buttons on hover */
.hero-slider:hover .swiper-button-prev,
.hero-slider:hover .swiper-button-next {
    opacity: 1;
}

.hero-slider .swiper-button-prev {
    left: 10px;
}

.hero-slider .swiper-button-next {
    right: 10px;
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
}

.hero-slider .swiper-button-prev::after {
    border-width: 10px 15px 10px 0;
    border-color: transparent #fff transparent transparent;
}

.hero-slider .swiper-button-next::after {
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #fff;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 300px;
        /* Adjust height for smaller screens */
    }

    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 200px;
        /* Further adjust height for very small screens */
    }

    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* dental unit hero section end */

/* dental unit text animetion start */
#text_animetion {
    padding: 20px 0px;
}

#app {
    text-align: center;
    font-weight: 600;
    font-size: 35px;
    background-image: linear-gradient(
        -225deg,
        var(--btn-bg) 0%,
        var(--btn-bg) 29%,
        var(--btn-bg) 67%,
        var(--btn-bg) 100%
    );
    background-clip: border-box;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: var(--btn-color);
    animation: textclip 2s linear infinite;
}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}

/* Custom cursor color */
.Typewriter__cursor {
    color: var(--btn-color) !important;
}

/* dental unit text animetion end */

/* our misson and visson start */

.goals_objectives_all_items {
    display: flex;
    padding: 90px 0px 0px 0px;
}

.goals_objectives_text {
    padding: 0px 0px 0px 20px;
}

.goals_objectives_icon svg {
    width: 50px;
    height: 50px;
}

.goals_objectives_text h5 {
    font-size: 25px;
    font-weight: 600;
}

.goals_objectives_text p {
    text-align: justify;
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
    color: #717072;
}

.goals_objectives_all_img img {
    width: 100%;
    background-position: center;
    background-size: cover;
    object-fit: cover;
    background-repeat: no-repeat;
}

/* our misson and visson end */

/* admission information start */

#dental_admission_information {
    padding: 0px 0px 40px 0px;
    background: none;
}

.dental_admission_information_heading h4 {
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    padding: 10px 0px;
}

.dental_under_line {
    margin: auto;
    width: 330px;
    height: 1px;
    background: black;
}

.admission_information_tabel table {
    width: 100%;
    height: 300px;
    border-collapse: collapse;
    background: #f1f1f1;
}

.admission_information_tabel table tr td {
    padding-left: 20px;
    position: relative;
    width: calc(100% + 80px);
}

.admission_information_tabel table tr .arrow-cell {
    padding: 0 !important;
    width: 20px;
    text-align: center;
    background: white;
}

.admission_information_tabel .arrow {
    border: none !important;
    margin-left: 10px !important;
    font-size: 20px;
    color: #666;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admission_information_tabel tr.active .arrow {
    opacity: 1;
    color: #444444;
}

.admission_information_tabel tr:hover {
    transition: 0.3s ease all;
    background: var(--btn-color);
    color: white;
}

.admission_information_tabel tr.active {
    border: none;
    background-color: red;
    color: white;
}

.admission_information_tabel tr.active svg path {
    fill: white;
}

.admission_information_tabel tr:hover svg path {
    fill: var(--background-color);
}

.admission_information_tabel svg {
    width: 20px;
    height: 20px;
}

.table_text {
    font-size: 16px;
    font-weight: 500;
}

.admission_information_content_item {
    font-size: 16px;
    color: var(--color-1);
    font-weight: 400;
    line-height: 28px;
    text-align: justify; background: none;
}

.admission_information_content_item {
    display: none;
}

.admission_information_content_item.active {
    display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .admission_information_heading h4 {
        font-size: 1.5rem;
    }

    .under_line {
        width: 70%;
        max-width: 270px;
    }

    .admission_information_tabel table tr td {
        padding-left: 5px;
    }

    .admission_information_tabel .arrow {
        font-size: 1.25rem;
    }

    .table_text {
        font-size: 0.875rem;
    }

    .admission_information_content_item {
        font-size: 0.875rem;
        line-height: 1.5rem;
    }
}

@media (max-width: 576px) {
    .admission_information_heading h4 {
        font-size: 1.25rem;
    }

    .under_line {
        width: 60%;
        max-width: 220px;
    }

    .admission_information_tabel table {
        height: auto;
    }

    .admission_information_tabel .arrow {
        border: none;
        font-size: 1rem;
    }

    .table_text {
        font-size: 0.75rem;
    }

    .admission_information_content_item {
        padding: 0px 20px;
        font-size: 0.75rem;
        line-height: 1.25rem;
    }
}

/* admission information end */

/* departments of dcmc dental unit start */
#departments_of_dcmc_dental_unit {
    padding: 0px 0px 40px 0px;
}

.departments_of_dcmc_dental_unit_heading h4 {
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    padding: 10px 0px;
}

.under_line {
    margin: auto;
    width: 330px;
    height: 1px;
    background: black;
}

.departments_of_dcmc_dental_unit_card_item {
    width: 100%;
    height: 100%;
    padding: 0px 20px;
    transition: 0.6s;
    border-radius: 6px;
}

.departments_of_dcmc_dental_unit_card_item:hover {
    color: var(--btn-color);
    fill: var(--btn-color);
    box-shadow: 0 0 25px 10px rgb(202, 225, 255);
}

.departments_of_dcmc_dental_unit_card_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 0px;
}

.departments_of_dcmc_dental_unit_card_icon svg {
    width: 70px;
    height: 70px;
}

.departments_of_dcmc_dental_unit_card_text h3 {
    text-align: center;
    font-size: 24px;
}

.departments_of_dcmc_dental_unit_card_text p {
    text-align: justify;
    padding: 20px 0px 0px 0px;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
}

@media (max-width: 768px) {
    .departments_of_dcmc_dental_unit_card_item {
        height: auto;
        padding: 15px;
    }

    .departments_of_dcmc_dental_unit_card_icon svg {
        width: 50px;
        height: 50px;
    }

    .departments_of_dcmc_dental_unit_card_text h3 {
        font-size: 20px;
    }

    .departments_of_dcmc_dental_unit_card_text p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .departments_of_dcmc_dental_unit_heading h4 {
        font-size: 24px;
    }

    .under_line {
        width: 200px;
    }

    .departments_of_dcmc_dental_unit_card_item {
        padding: 10px;
    }

    .departments_of_dcmc_dental_unit_card_icon svg {
        width: 40px;
        height: 40px;
    }

    .departments_of_dcmc_dental_unit_card_text h3 {
        font-size: 18px;
    }

    .departments_of_dcmc_dental_unit_card_text p {
        font-size: 12px;
    }
}

/* departments of dcmc dental unit end */

/* massage section start */
#massage_items {
    padding: 0px 0px 20px 0px;
}

.message_heading h4 {
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    padding: 10px 0px;
}

.under_line {
    margin: auto;
    width: 330px;
    height: 1px;
    background: black;
}

.info_all_text {
    padding: 20px 10px 0px 10px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.info_all_text h5 {
    color: var(--btn-color);
    font-size: 22px;
    font-weight: 600;
}

.info_all_text p {
    line-height: 30px;
    margin: 0px !important;
    font-size: 16px;
    color: var(--color-1);
    font-weight: 500;
}

.info_all_text button.massage_card_see_more {
    font-weight: 600;
    border: 1px solid red;
    padding: 6px 15px;
    margin: 10px 0px 20px 0px;
    border: none;
    background: var(--btn-color);
    color: var(--background-color);
    border-radius: 6px;
    transition: 0.5s;
}

.info_all_text button.massage_card_see_more:hover {
    border: none;
    background: var(--btn-bg);
    color: var(--background-color);
    border-radius: 6px;
}

.swiper-slide {
    width: 100%;
}

.blog_card {
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    margin: 70px 0px 70px 0px;
    width: 100%;
}

.blog_img {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    width: 100%;
    object-fit: cover;
    position: relative;
    overflow: hidden;
    transition: 0.5s ease-in;
    cursor: pointer;
}

.blog_img img {
    border-radius: 6px;
    width: 100% !important;
    transition: 0.5s ease-in-out;
}

.blog_img img:hover {
    transform: scale(1.2);
}

.blog_card_text {
    padding: 25px !important;
    background: var(--background-color);
}

.blog_card_text h5 {
    text-align: start;
    font-size: 14px;
}

.blog_card_text h2 {
    text-align: start;
    font-size: 20px;
    font-weight: 600;
    margin-top: 15px;
}

.blog_card_text p {
    text-align: start;
    font-size: 16px;
    margin-top: 15px;
}

.blog_btn {
    display: flex;
    justify-content: start;
}

.blog_card_text p {
    text-align: start;
    font-size: 16px;
    color: var(--color-1);
    display: inline-block;
    transition: 0.5s ease-in-out;
}

.blog_card_text p:hover {
    text-align: start;
    font-size: 16px;
    color: var(--btn-bg);
    display: inline-block;
    text-decoration: none;
}

.swiper_button_prevs,
.swiper_button_nexts {
    position: absolute !important;
    top: 0px !important;
    z-index: 9999 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border: 3px solid red;
    padding: 0px !important;
    margin-top: 20px;
    transition: 0.5s ease-in-out;
}

.swiper_button_prevs {
    right: 60px !important;
}

.swiper_button_nexts {
    right: 10px !important;
}

.swiper_button_prevs:hover,
.swiper_button_nexts:hover {
    background: var(--btn-color) !important;
}

.swiper_button_prevs .swiper_btn_img svg path,
.swiper_button_nexts .swiper_btn_img svg path {
    fill: var(--btn-bg) !important;
}

@media screen and (max-width: 1285.6px) {
    .swiper_button_nexts {
        right: 10px !important;
    }
}

@media screen and (max-width: 1100px) {
    .swiper_button_nexts {
        right: 10px !important;
    }
}

@media screen and (max-width: 879px) {
    .swiper_button_nexts {
        right: 10px !important;
    }
}

@media screen and (max-width: 760px) {
    .swiper_button_nexts {
        right: 10px !important;
    }
}

@media screen and (max-width: 672px) {
    .swiper_button_nexts {
        right: 10px !important;
    }
}

@media screen and (max-width: 400px) {
    .message_heading h4 {
        padding-bottom: 20px;
    }
    .swiper_button_nexts {
        right: 10px !important;
    }
}

/* massage section end */

/* faculties of dental unit start */
#faculties_of_dental_unit_items {
    padding: 0px 0px 80px 0px;
}

.faculties_of_dental_unit_heading h4 {
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    padding: 10px 0px;
}

.under_line {
    margin: auto;
    width: 330px;
    height: 1px;
    background: black;
}

.faculties_of_dental_unit_item_card {
    width: 100%;
    height: auto;
    border: 1px solid black;
    border-radius: 6px;
    border: none;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.19), 0px 2px 10px rgba(0, 0, 0, 0.23);
    transition: 0.3s;
}

.faculties_of_dental_unit_item_card:hover {
    box-shadow: 0px 2px 10px rgba(255, 131, 131, 0.833),
    0px 2px 10px rgb(255, 144, 144);
}

.faculties_of_dental_unit_item_card_text {
    padding: 20px;
}

.faculties_of_dental_unit_item_card_text h5 {
    font-size: 25px;
    font-weight: 500;
}

.faculties_of_dental_unit_item_card_text p {
    font-size: 17px;
    font-weight: 400;
    line-height: 30px;
    color: #3f4042;
}

.faculties_of_dental_unit_item_card_btn {
    border: none;
    border-radius: 6px;
    background: var(--btn);
    width: 110px;
    height: 45px;
    transition: 0.3s;
}

.faculties_of_dental_unit_item_card_btn:hover {
    background: var(--btn-color);
}

.faculties_of_dental_unit_item_card_btn a {
    text-decoration: none;
    color: var(--background-color);
    font-size: 16px;
    font-weight: 500;
}

.faculties_of_dental_unit_item_card_btn a:hover {
    color: var(--background-color);
}

/* faculties of dental unit end */

/* dhaka medical footer start */
#medical_footer_items {
    padding: 50px 0px 40px 0px;
    background: var(--btn-bg);
}

.Container {
    width: 100%;
    max-width: 1140px;
    margin: auto;
    padding: 0 15px;
}

.short_text h4 {
    font-weight: 600;
    font-size: 22px;
    color: var(--background-color);
}

.medical_all_item {
    padding: 0px 15px;
}

.under_lines {
    width: 245px;
    height: 2.5px;
    background: var(--background-color);
}

.medical_footer_text {
    padding: 5px 0px 0px 0px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer_list_1 li,
.footer_list_2 li {
    padding: 15px 0px 0px 0px;
    list-style-type: none;
}

.footer_list_1 a,
.footer_list_2 a {
    font-size: 16px;
    text-decoration: none;
    color: var(--background-color);
    font-weight: 400;
    transition: 0.5s;
}

.footer_list_1 a:hover,
.footer_list_2 a:hover {
    color: var(--btn-color);
}

.footer_social_item {
    display: flex;
}

.footer_social_item .icon {
    align-items: center;
    justify-content: center;
    display: flex;
    width: 40px;
    height: 40px;
    border: 1px solid #575ea8;
    font-size: 16px;
    border-radius: 50%;
    margin: 0px 10px 0px 0px;
    transition: 0.5s;
}

.footer_social_item .icon:hover {
    background: #6b6d79;
}

.footer_contact_item {
    display: flex;
    padding: 14px 0px 0px 0px;
}

.medical_footer_contact_icon,
.medical_footer_location_icon {
    font-size: 38px;
}

.medical_footer_contact_text {
    padding: 0px 0px 0px 20px;
}

.callname_heading a {
    font-size: 18px !important;
}

.medical_footer_contact_callnamebar a,
.medical_footer_contact_faxnamebar a,
.medical_footer_location_text a {
    font-size: 14px;
    text-decoration: none;
    color: var(--background-color);
}

.medical_footer_location_text {
    padding-left: 28px !important;
}

.medical_footer_contact_text a:hover,
.medical_footer_location_text a:hover {
    color: var(--background-color);
}

.madical_collage_location {
    margin: 18px 0px 0px 0px;
}

.madical_collage_location iframe {
    width: 100%;
    height: 250px;
}

@media screen and (max-width: 770px) {
    .medical_all_item {
        margin: 20px 0px;
    }

    .medical_footer_text {
        display: block;
        padding: 0 !important;
    }
}

@media screen and (max-width: 576px) {
    .Container {
        padding: 0 10px;
    }

    .medical_footer_contact_item,
    .footer_social_item {
        justify-content: center;
    }

    .medical_footer_contact_icon,
    .medical_footer_location_icon {
        font-size: 28px;
    }

    .callname_heading a {
        font-size: 16px !important;
    }

    .madical_collage_location iframe {
        height: 200px;
    }
}

/* dhaka medical footer end */

/* dhaka medical copyright start */
#medical_copyright_items {
    background: var(--btn-color);
    text-align: center;
}

.medical_copyright_item {
    padding: 16px 0px;
}

.medical_copyright_item a {
    font-weight: 600;
    text-decoration: none;
    color: var(--background-color);
}

.medical_copyright_item a:hover {
    color: var(--background-color);
}

/* dhaka medical copyright end */

/* Back To Top button start */

#back_to_top {
    padding: 20px;
}

#backToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.5s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

#backToTopBtn:hover {
    background: linear-gradient(45deg, #2575fc, #6a11cb);
    transform: rotate(360deg) scale(1.1);
}

#backToTopBtn span {
    color: white;
    font-size: 24px;
    transition: all 0.5s ease;
}

/* Pulsating Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }

    70% {
        box-shadow: 0 0 20px 20px rgba(102, 126, 234, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* Back To Top button end */
